/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ModelLayer;

/**
 *
 * @author Martin
 */
public class Invoice {
    private int InvoiceNo;
    private String paymentDate;
    private double amount;
    private String invoiceDate;
    private Order order;
    
    public Invoice(){
        
    }

    public Invoice(int invoiceNo, String paymentDate, double amount, String invoiceDate, Order order) {
        this.InvoiceNo = invoiceNo;
        this.paymentDate = paymentDate;
        this.amount = amount;
        this.invoiceDate = invoiceDate;
        this.order = order;
    }
    
    public Invoice(int invoiceNo)
    {
        this.InvoiceNo = invoiceNo;
    }

    /**
     * @return the InvoiceNo
     */
    public int getInvoiceNo() {
        return InvoiceNo;
    }

    /**
     * @param InvoiceNo the InvoiceNo to set
     */
    public void setInvoiceNo(int InvoiceNo) {
        this.InvoiceNo = InvoiceNo;
    }

    /**
     * @return the paymentDate
     */
    public String getPaymentDate() {
        return paymentDate;
    }

    /**
     * @param paymentDate the paymentDate to set
     */
    public void setPaymentDate(String paymentDate) {
        this.paymentDate = paymentDate;
    }

    /**
     * @return the amount
     */
    public double getAmount() {
        return amount;
    }

    /**
     * @param amount the amount to set
     */
    public void setAmount(double amount) {
        this.amount = amount;
    }

    /**
     * @return the invoiceDate
     */
    public String getInvoiceDate() {
        return invoiceDate;
    }

    /**
     * @param invoiceDate the invoiceDate to set
     */
    public void setInvoiceDate(String invoiceDate) {
        this.invoiceDate = invoiceDate;
    }

    /**
     * @return the order
     */
    public Order getOrder() {
        return order;
    }

    /**
     * @param order the order to set
     */
    public void setOrder(Order order) {
        this.order = order;
    }
    
    
}
